#!/bin/sh
rm -rf *.so *.o *_wrap.c my_array.p*
swig -python my_array.i
gcc -fPIC -c my_array_wrap.c array.c -I/usr/include/python2.7/
ld -shared my_array_wrap.o array.o -o _my_array.so

